//
//  AppDelegate.h
//  IMChat
//
//  Created by Admin on 2021/6/18.
//  Copyright © 2021年 TeamOne. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>

#import <RongIMKit/RongIMKit.h>

#import "UserInfoModel.h"
#import "FriendInfoModel.h"
#import "TOAFHttpUtils.h"
#import "TORongUtils.h"
#import "TOConversationListViewController.h"
#import "NewFriendMessageModel.h"

#import "LoginViewController.h"
#import "MainTarBarViewController.h"

#define AppKey @"bmdehs6pbf59s"

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@property (readonly, strong) NSPersistentContainer *persistentContainer;

//当前登录的用户ID
@property (strong, nonatomic) NSString *userId;

//当前登录的用户对象
@property (strong, nonatomic) UserInfoModel *user;

//用户好友对象数组
@property (strong, nonatomic) NSMutableArray<FriendInfoModel *> *friendModelList;

//@property (strong, nonatomic) NSArray *friendIdList;
//
//@property (strong, nonatomic) NSArray *friendNameList;
//
//@property (strong, nonatomic) NSArray *friendProUriList;

//好友信息请求对象数组
@property (strong, nonatomic) NSMutableArray<RCContactNotificationMessage *> *nFriendReqList;

//@property (strong, nonatomic) NSArray *sourceUserIdList;
//
//@property (strong, nonatomic) NSMutableArray *operationList;
//
//@property (strong, nonatomic) NSArray *messageList;

- (void)saveContext;

@end

